home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-12-13 | 562 b | 17 lines | [TEXT/KEEN] |
- # $RunClip : place your program on the clipboard with Copy, then select
- # this program to run what's on the clip. Set input option as needed
- # before running, as when running a regular program.
- # Note "Set Variables" is not supported - instead, set your variables
- # as needed at the beginning of your program.
-
- BEGIN {
- progFile = STDPATH "Drag_on Modules:hAWK programs:$hAWKTempProgram"
- print getclip() > progFile
- close(progFile)
- argv[x++] = "hAWK"
- argv[x++] = "-f" progFile
- argv[x++] = "--"
- for (j = 1; j < ARGC; ++j)
- argv[x++] = ARGV[j]
- hAWK(argv)
- }